

package com.lh.api.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Date 2020/5/13 0013 14:18
 * @Author GaoZien
 * @Desc 用户记录表单
 */
@Data
@ApiModel(value = "用户记录表单")
public class RecordForm {

    @ApiModelProperty(value = "设备号",required = true)
    @NotNull(message="Equipment is required")
    private String equipment;

    @ApiModelProperty(value = "ip地址",required = true)
    private String ip;

}
